package com.xiaoq.route.sites.entity;

import com.xiaoq.MongoEntity;
import com.xiaoq.sites.entity.SitesEntity;
import org.mongodb.morphia.annotations.Entity;

import java.io.Serializable;
import java.util.List;

@Entity(value="route_sites",noClassnameStored=true)
public class SitesRouteEntity extends MongoEntity implements Serializable {

    private String name;// 名称
    private String shortName;// 简称
    private String introduction;// 简介
    private List<String> tags;// Tag
    private String memo;// 备注
    private Long avgDistance;// 行程平均距离
    private Long avgTime;// 形成平均时间
    private Long avgKaluli;// 平均消耗卡路里
    private String moveMethod;// 行动方式
    private String imgUrl; // 线路图标地址
    private String notice;// 特别说明
    private Double startLongitude;// 起点经度
    private Double startLatitude;// 起点纬度
    private Double endLongitude;// 终点经度
    private Double endLatitude;// 终点纬度
    private String zoneProvince; // 区划省
    private String zoneCity;// 区划市
    private String zoneDistrict;// 换分区

    private List<SitesEntity> sitesList; // 线路上的点

    public List<SitesEntity> getSitesList() {
        return sitesList;
    }

    public void setSitesList(List<SitesEntity> sitesList) {
        this.sitesList = sitesList;
    }

    public String getZoneProvince() {
        return zoneProvince;
    }

    public void setZoneProvince(String zoneProvince) {
        this.zoneProvince = zoneProvince;
    }

    public String getZoneCity() {
        return zoneCity;
    }

    public void setZoneCity(String zoneCity) {
        this.zoneCity = zoneCity;
    }

    public String getZoneDistrict() {
        return zoneDistrict;
    }

    public void setZoneDistrict(String zoneDistrict) {
        this.zoneDistrict = zoneDistrict;
    }

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getShortName() {
        return shortName;
    }
    public void setShortName(String shortName) {
        this.shortName = shortName;
    }
    public String getIntroduction() {
        return introduction;
    }
    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }
    public List<String> getTags() {
        return tags;
    }
    public void setTags(List<String> tags) {
        this.tags = tags;
    }
    public String getMemo() {
        return memo;
    }
    public void setMemo(String memo) {
        this.memo = memo;
    }
    public Long getAvgDistance() {
        return avgDistance;
    }
    public void setAvgDistance(Long avgDistance) {
        this.avgDistance = avgDistance;
    }
    public Long getAvgTime() {
        return avgTime;
    }
    public void setAvgTime(Long avgTime) {
        this.avgTime = avgTime;
    }
    public Long getAvgKaluli() {
        return avgKaluli;
    }
    public void setAvgKaluli(Long avgKaluli) {
        this.avgKaluli = avgKaluli;
    }

    public String getMoveMethod() {
        return moveMethod;
    }
    public void setMoveMethod(String moveMethod) {
        this.moveMethod = moveMethod;
    }
    public String getImgUrl() {
        return imgUrl;
    }
    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }
    public String getNotice() {
        return notice;
    }
    public void setNotice(String notice) {
        this.notice = notice;
    }
    public Double getStartLongitude() {
        return startLongitude;
    }
    public void setStartLongitude(Double startLongitude) {
        this.startLongitude = startLongitude;
    }
    public Double getStartLatitude() {
        return startLatitude;
    }
    public void setStartLatitude(Double startLatitude) {
        this.startLatitude = startLatitude;
    }
    public Double getEndLongitude() {
        return endLongitude;
    }
    public void setEndLongitude(Double endLongitude) {
        this.endLongitude = endLongitude;
    }
    public Double getEndLatitude() {
        return endLatitude;
    }
    public void setEndLatitude(Double endLatitude) {
        this.endLatitude = endLatitude;
    }
}
